{% extends '@SonataAdmin/CRUD/base_show_field.html.twig' %}

{% block field %}
    {% if object.parentComment is not null %}
        <a href="mailto:{{ object.parentComment.email }}">
            {{ object.parentComment.email }}
        </a>
    {% else %}
        -
    {% endif %}
{% endblock %}